package edu.qichen.onlineBlog.blogs.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 功能:
 * 作者:程序员欧阳子韩
 * 日期:2024/4/26 15:04
 */
@Data
public class AddBlogReq {
    @TableId
    private Integer id;
    @NotBlank
    private String title;
    @NotBlank
    private String content;
    @NotNull
    private Integer createUser;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
